#include "widget.h"
#include "ui_widget.h"
#include <QString>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_pushButton_clicked()
{
    QString s=ui->comboBox->currentText();
    QString ss=ui->comboBox_2->currentText();
    ui->label_4->setText(s+ui->spinBox->text()+ss+ui->spinBox_2->text()+ui->dateTimeEdit->text());
}
